﻿using UnityEngine;

namespace TC
{
    [Menu("Variable/Const/Vector2")]
    public class ConstVector2 : VariableNode
    {
        public Vector2 value = Vector2.zero;
        public ValueOutput<Vector2> vecOut;

        public override void OnCreate()
        {
            base.OnCreate();

            vecOut = this.AddValueOutPort<Vector2>("value", () => { return value; });
        }
    }
}
